* {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

img {
    display: block;
}

/*header*/
#header {
    // width: 100%;
    height: 1.0667rem;
    background: #1d6dff;
    padding: .1333rem;

    .left-logo {
        margin-left: .1333rem;
        padding: .1867rem 0rem;
        float: left;
        width: 75%;

        a {
            img {
                height: .6667rem;
            }
        }
    }

    .right-logo {
        float: right;
        padding: .1867rem;
        a{
            img{
                height: .9067rem;
            }
        }
    }
}

/*search*/
#search {
    background: #fff;
    border-bottom: .0267rem solid #ccc;
    width: 100%;
    position: relative;
}

#search>.search-left {
    padding: .2667rem;
}

#search>.search-left>input {
    height: .8rem;
    width: 90%;
    padding-left: 5%;
    border-radius: .4rem;
    background-color: #f1f1f1;
    border: none;
    font-size: .4267rem;
    outline: none;
}

#search>.search-right>input {
    width: 1.68rem;
    height: .8rem;
    background: #1d6dff;
    border-radius: .4rem;
    position: absolute;
    right: .2667rem;
    top: .2667rem;
    border: none;
    color: #fff;
    line-height: .8rem;
    font-size: .4267rem;
}

/*nav*/
#nav {
    .container {
        padding-right: .4rem;
        padding-left: .4rem;
        margin-right: auto;
        margin-left: auto;

        ul {
            width: 10rem;
            overflow: hidden;

            li {
                float: left;
                padding: .2667rem;
                text-align: center;
                width: 1.8667rem;

                a {
                    img {
                        height: 1.3333rem;
                        margin: 0 auto;
                    }
                }

                p {
                    margin: 0 0 .2667rem 0;
                    margin-top: .1333rem;
                }
            }
        }
    }
}

/*折扣*/
#discount {
    background: #1d6dff;
    height: .9333rem;
    line-height: .9333rem;
    padding-left: .2667rem;
}

#discount>span {
    text-align: left;
    font-size: .5333rem;
    color: #fff;
    font-weight: bolder;
    float: left;
}

#discount>a>img {
    text-align: right;
    float: right;
    height: .5333rem;
    margin-top: .1867rem;
    margin-right: .2667rem;
}

/*商品渲染*/
#product>ul {
    margin-top: 0;
    margin-bottom: .2667rem;
}

#product>ul>li {
    height: 2.9333rem;
    padding: .2667rem .2133rem;
    overflow: hidden;
}

#product>ul>li>img {
    float: left;
    width: 2.6667rem;
    height: 2.6667rem;
    padding-right: .2667rem;
}

#product>ul>li>h4 {
    color: #333333;
    word-break: break-all;
    font-size: .4rem;
    line-height: .5067rem;
    min-height: 1.52rem;
    display: block;
    text-align: left;
    font-weight: normal;
}

#product>ul>li>h4>span {
    color: #ff6c00;
}

#product>ul>li>div>span {
    float: left;
    color: #666;
}

#product>ul>li>div>b {
    font-weight: normal;
    float: right;
    color: #666;
    padding-left: .4267rem;
}

#product>ul>li>div>b::before {
    content: "";
    display: block;
    width: .4267rem;
    height: .4267rem;
    font-size: .4267rem;
    float: left;
    background: url(/移动端项目/项目基本结构/images/评论.png)no-repeat 0 0/.4267rem .4267rem;
}

/*footer*/
#footer {
    .top {
        height: 1.3333rem;
        background-color: #f4f4f4;
        padding: .2667rem;

        a {
            display: block;
            font-size: .3467rem;
            line-height: .8rem;
            text-align: center;
            color: #666;
            border-radius: .1333rem;
            border: .0267rem solid #dddddd;
            background-image: linear-gradient(#ffffff, #f4f4f4);
        }
    }

    .center {
        background-color: #1d6dff;
        margin-top: .2667rem;
        margin-bottom: .16rem;
        overflow: hidden;

        .center-left {
            color: #fff;
            display: inline-block;
            font: bolder .48rem/.9333rem "Microsoft soft";
            padding-left: .2667rem;
            float: left;
        }

        .center-right {
            float: right;
            line-height: .9333rem;
            padding-right: .2667rem;

            img {
                width: .5333rem;
                height: .5333rem;
                margin-top: .2133rem;
            }
        }
    }

    .bottom {
        .list {
            padding-right: .4rem;
            padding-left: .4rem;
            margin-right: auto;
            margin-left: auto;

            .row {
                display: flex;
                justify-content: space-between;
                height: .96rem;
                margin-top: .2667rem;
                margin-right: -0.4rem;
                margin-left: -0.4rem;
                border-top: .0267rem solid #c4c4c4;
                border-bottom: .0267rem solid #c4c4c4;

                a {
                    display: block;
                    color: #666;
                    float: left;
                    height: .88rem;
                    line-height: .88rem;
                    text-align: center;
                    font-size: .3733rem;
                    border-right: .0267rem solid #c4c4c4;
                }

                a:nth-of-type(1) {
                    width: 25%;
                }

                a:nth-of-type(2) {
                    width: 33.33333333%;
                }

                a:nth-of-type(3) {
                    width: 41.66666667%;
                }
            }
        }

        .content {
            text-align: center;
            padding: .2667rem;

            p {
                margin: 0 0 .2667rem 0;

                a {
                    color: #666;
                }
            }
        }
    }
}